const student = {
  errCode: 0,
  data: {
    "id": "684505461919665880",
    "name": "冷公子",
    "number": "181180242100098", // 学号
    "eduStuId": "016F07173031", // 学籍号
    "idCard": "441900199807080004",
    "sex": 1, // 1:男；2:女；
    "birthday": "-28800000",
    "ethnic": "汉族",
    "icon": "https://ss3.bdstatic.com/iPoZeXSm1A5BphGlnYG/skin/6.jpg", // 照片
    "enterDate": "2018-03-01", // 入学时间
    "graduationDate": "2020-01-15", // 毕业时间
    "degreeEducation": "大专", // 文化程度
    "politicsStatus": "共青团员", // 政治面貌
    "centerName": "广州南华工贸学习中心",
    // "subjectProp":"IT",//学科属性
    "majorId": "1", // 专业ID
    "majorName": "计算机科学与技术", // 专业
    "myClass": "广州南华工贸学习中心2018春季土木工程2班",
    // "schoolName":"第一学历毕业院校",
    // "graduateDate":"",//第一学历毕业时间
    // "speciality":"",//第一学历毕业专业
    // "graduationNum":"",//第一学历毕业证编号
    // "schoolType":"普通教育",//办学类型
    // "schoolForm":"普通办学",//办学形式
    // "schoolCategory":"普通高等教育",//办学类别
    "lengthSchooling": "2年半", // 学制
    "studyMode": "网络", // 学习方式
    "educationLevel": "专升本", // 教育层次
    "qq": "350999888", //
    "email": "myemail@qq.com", //
    "phone": "13784967219", //
    "address": "广东省广州市xx区xx镇xxxx",
    "emergencyPhone": "13684961211", // 紧急联系人电话
    "emergencyAddress": "广东省广州市xx区xx镇xxxx",
    "state": 1,
    "createTime": 1582546546000,
    "updateTime": 1583823334000
  }
};

const plan = {
  errCode: 0,
  data: {
    major: {
      "name": "上天下地",
      "intro": "asdf厅一地fsewt 地要asdf厅一地fsewt 地要asdf厅一地fsewt 地要asdf厅一地fsewt 地要asdf厅一地fsewt 地要asdf厅一地fsewt 地要asdf厅一地fsewt 地要"
    },
    list: [
      {
        "courseName": "语文",
        "courseNo": "C001",
        "courseType": 1,
        "examType": "网上考试",
        "semester": 1,
        "credit": 2
      },
      {
        "courseName": "高等数学",
        "courseNo": "C002",
        "courseType": 1,
        "examType": "网上考试",
        "semester": 1,
        "credit": 3
      },
      {
        "courseName": "计算机原理",
        "courseNo": "C004",
        "courseType": 2,
        "examType": "网上考试",
        "semester": 2,
        "credit": 4
      },
      {
        "courseName": "test",
        "courseNo": "C004",
        "courseType": 3,
        "examType": "网上考试",
        "semester": 3,
        "credit": 1
      },
      {
        "courseName": "test",
        "courseNo": "C004",
        "courseType": 3,
        "examType": "网上考试",
        "semester": 3,
        "credit": 1
      },
      {
        "courseName": "test",
        "courseNo": "C004",
        "courseType": 3,
        "examType": "网上考试",
        "semester": 3,
        "credit": 1
      },
      {
        "courseName": "test",
        "courseNo": "C004",
        "courseType": 3,
        "examType": "网上考试",
        "semester": 3,
        "credit": 1
      },
      {
        "courseName": "test",
        "courseNo": "C004",
        "courseType": 3,
        "examType": "网上考试",
        "semester": 3,
        "credit": 1
      },
      {
        "courseName": "test",
        "courseNo": "C004",
        "courseType": 3,
        "examType": "网上考试",
        "semester": 3,
        "credit": 1
      }
    ]
  }
}

export default {
  getStudentInfo: config => {
    console.log(`======getStudentInfo==========`);
    console.log(config);
    console.log(`================`);
    return student;
  },
  getLearnPlan: config => {
    console.log(`======getLearnPlan==========`);
    console.log(config);
    console.log(`================`);
    return plan;
  }
};
